package cn.liyunqi.ttv.web.mapper;

import cn.liyunqi.ttv.web.bo.Dictionary;
import org.apache.ibatis.annotations.Param;

public interface DictionaryMapper {

    public static final String MAILSMTPHOST = "mail.smtp.host";
    public static final String MAILSMTPPORT = "mail.smtp.port";
    public static final String MAILUSER = "mail.user";
    public static final String MAILPASSWORD = "mail.password";
    public static final String MAIL = "mail";

    public static final String TTS = "TTS";
    public static final String Baidu_APP_ID = "Baidu_APP_ID";
    public static final String Baidu_API_KEY = "Baidu_API_KEY";
    public static final String Baidu_SECRET_KEY = "Baidu_SECRET_KEY";
    public static final String Kedaxunfei_APP_ID = "Kedaxunfei_APP_ID";

    String Download_Zip_Url = "Download_Zip_Url";



    int deleteByPrimaryKey(String id);

    int insert(Dictionary record);

    int insertSelective(Dictionary record);

    Dictionary selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Dictionary record);

    int updateByPrimaryKey(Dictionary record);

    String getValue(@Param("name") String name, @Param("type")String type);
}